import type { RouteObject } from 'react-router-dom'

export default {
  children: [
    {
      path: '/setmeal',
      lazy: () => import('@/views/setmeal/index'),
      meta: {
        title: '套餐管理',
        icon: 'ant-design:gift-outlined',
      },
    },
    {
      path: '/setmeal/addSetmeal',
      id: 'addSetmeal',
      lazy: () => import('@/views/setmeal/addSetmeal'),
      meta: {
        title: '操作套餐',
        hideInMenu: true,
        hideInSearch: true,
        activeMenu: '/setmeal',
        mergeTabbarPath: '/setmeal',
        // auth: 'user.detail',
      },
    },
  ],

} as RouteObject